home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_200 / 285_02 / hoc3.h < prev    next >
Text File  |  1990-07-08  |  640b  |  31 lines

  1. typedef union {                /* stack object type    */
  2.     double  val ;       /* actual value         */
  3.     Symbol  *sym ;      /* symbol table ptr     */
  4. } YYSTYPE;
  5.  
  6. #ifndef YYLTYPE
  7. typedef
  8.   struct yyltype
  9.     {
  10.       int timestamp;
  11.       int first_line;
  12.       int first_column;
  13.       int last_line;
  14.       int last_column;
  15.       char *text;
  16.    }
  17.   yyltype;
  18.  
  19. #define YYLTYPE yyltype
  20. #endif
  21.  
  22. #define    YYACCEPT    return(0)
  23. #define    YYABORT    return(1)
  24. #define    YYERROR    goto yyerrlab
  25. #define    NUMBER    258
  26. #define    VAR    259
  27. #define    BLTIN    260
  28. #define    UNDEF    261
  29. #define    UNARYMINUS    262
  30.  
  31.